/**
 * @description 路由工具函数
 */
const modules = import.meta.glob("../views/**/**.vue");
export const lazyComponents = (path: string) => {
  const comp = modules[`../views${path}`] || modules[`../views${path}/index.vue`];
  return comp;
};
